package com.weibo4j.api.req.favourite;

import com.weibo4j.api.WeiboRequest;
import com.weibo4j.api.response.favourite.FavouritesGetResponse;
import com.weibo4j.api.util.RequestType;

public class FavouritesGetByTagRequest extends WeiboRequest<FavouritesGetResponse>{

    private Integer count;
    
    private Integer page;
    
    private Long tid;
    
    public Long getTid() {
        return tid;
    }

    public void setTid(Long tid) {
        this.tid = tid;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    @Override
    public RequestType requestType() {
        return RequestType.GET;
    }

    @Override
    public String baseUrl() {
        return "https://api.weibo.com/2/favorites/by_tags.json";
    }

    @Override
    protected Class<FavouritesGetResponse> responseType() {
        return FavouritesGetResponse.class;
    }

}
